﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using SpiderStudy.WebSite.Bcy;
using SpiderStudy.Utils.Currency.FileUtils;

namespace SpiderStudy.ViewManage
{
    public partial class BcyControl : UserControl
    {
        public BcyControl()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            new BcyDayScanner().DaySacanner(dateTimePicker1.Text, dateTimePicker2.Text);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            new BcyComment().ScannerListFile(FileHelper.SelectFile());
        }

        private void button3_Click(object sender, EventArgs e)
        {
            new BcyComment().CommentClear(FileHelper.SelectFile());

        }
    }
}